package com.example.xmpic.ui.data;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Unique;

/**
 * @author skygge
 * @date 2020/7/22.
 * GitHub：javofxu@github.com
 * email：skygge@yeah.net
 * description：摄像头本地数据
 */
@Entity
public class CameraBean {

    @Id
    private String userId;

    @Unique
    private String deviceId;

    private String deviceName;

    private String roomId;

    private String roomName;

    @Generated(hash = 44771031)
    public CameraBean(String userId, String deviceId, String deviceName,
            String roomId, String roomName) {
        this.userId = userId;
        this.deviceId = deviceId;
        this.deviceName = deviceName;
        this.roomId = roomId;
        this.roomName = roomName;
    }

    @Generated(hash = 605145312)
    public CameraBean() {
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDeviceId() {
        return this.deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return this.deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getRoomId() {
        return this.roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getRoomName() {
        return this.roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }
}
